package com.example.demo3.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo3.entity.SpareParts;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 备件档案 Mapper 接口
 * </p>
 *
 * @author xsyuan
 * @since 2020-03-26
 */
public interface SparePartsMapper extends BaseMapper<SpareParts> {

    int countPage(Map<Object ,Object> map);

    List<SpareParts> queryPage(Map<Object ,Object> map);
    /**
     * 获取主键ID
     * @return
     */
    String getUUID();

    List<SpareParts> findByMap(Map<String,Object> map);

}
